all:tcpserve tcpclient 

tcpserve:serve.cpp ../source/serve.hpp
	g++ -o $@ $^ -std=c++11 -lpthread
tcpclient:client.cpp ../source/serve.hpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcpclient tcpserve